package com.itheima.loop;

import java.util.Random;

public class RandomDemo1 {
    public static void main(String[] args) {
        Random r = new Random();
        for (int i = 1; i <= 20; i++) {
            int data = r.nextInt(3,18);
            System.out.println(data);
        }
    }
}
